/*
 * RemoteTableModelListener.java
 * 
 * Written by Joseph Bowbeer and released to the public domain,
 * as explained at http://creativecommons.org/licenses/publicdomain
 */

package jozart.remotetable;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.EventListener;

/**
 * Specifies the method for notifying an object about changes made to a
 * RemoteTableModel.
 * 
 * @author Joseph Bowbeer
 * @version 1.0
 */
public interface RemoteTableModelListener extends EventListener, Remote {

    /**
     * This stateful notification tells listeners the location and
     * new contents of the cells, rows, or columns that changed.
     * 
     * @param event description of change
     */
    void remoteTableChanged(RemoteTableModelEvent event) throws RemoteException;
}
